<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>销售费用申请表单</title>
<%@ include file="../common/common.jsp"%>
<script type="text/javascript">
$(function(){
	// 选择项目
	$("#contractopen").click(function(){
		var iWidth=800; //弹出窗口的宽度;
		var iHeight=600; //弹出窗口的高度;
		var iTop = (window.screen.availHeight-30-iHeight)/2; //获得窗口的垂直位置;
		var iLeft = (window.screen.availWidth-10-iWidth)/2; //获得窗口的水平位置;
		var str=window.showModalDialog('contract_choose.jsp','','dialogHeight=300,dialogWidth=800,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');
	});
});
</script>
</head>
<body>
  <form> 
        <div fit="true">
	            <div region="center" border="false" style="height:250;padding:10px;background:#fff;border:1px solid #ccc;">
			        <table style="width: 100%;text-align: right;"; border="0">
							<tr>
							   <td>合同编号: <input class="easyui-validatebox"  type="text"> </td>
							   <td>合同项目名称：<input class="easyui-validatebox" style="width: 84px;"    type="text">
							   <input id="contractopen" type="button" value="选择"></input>
							   </td>
							</tr>
							
						    <tr>
						      <td>合同签约时间：<input style="width: 140px;" class="easyui-datebox"   type="text"></td>
							  <td>质保金金额:  <input class="easyui-validatebox"  type="text"></td>
						    </tr>
						    
						    <tr>
						      <td>施工验收时间：<input style="width: 140px;" class="easyui-datebox"   type="text"></td>
							  <td>发票金额:  <input class="easyui-validatebox"    type="text"></td>
						    </tr>
						    
						    <tr>
						      <td>销售费用金额：<input class="easyui-validatebox"   type="text"></td>
							  <td>回款时间:  <input style="width: 140px;" class="easyui-datebox"   type="text"></td>
						    </tr>
						    
						    <tr>
						      <td>实际回款金额：<input class="easyui-validatebox"   type="text"></td>
							  <td>收取方:  <input class="easyui-validatebox"    type="text"></td>
						    </tr>
						    
						    <tr>
						      <td>收取方联系方式：<input class="easyui-validatebox"   type="text"></td>
						    </tr>
					</table>
				</div>
				
				 <div region="south" border="false" style="text-align:center;margin-top:50px;padding:5px 0;">
					<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)">保存</a>
					<a id="add_close" class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" >关闭</a>
			     </div>
        </div>
    </form> 
</body>
</html>